package com.hrbxlh.virtualization.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 实验桌面访问地址
 *
 * @author cheer
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DesktopVO {

    private Boolean cluster;

    private Long containerId;

    private Long imageId;

    private String desktopUrl;

    private Long masterContainerId;

    private Long masterImageId;

    private String masterDesktopUrl;

    private Long firstSlaveContainerId;

    private Long firstSlaveImageId;

    private String firstSlaveDesktopUrl;

    private Long secondSlaveContainerId;

    private Long secondSlaveImageId;

    private String secondSlaveDesktopUrl;

    public Boolean getCluster() {
        return cluster;
    }

    public void setCluster(Boolean cluster) {
        this.cluster = cluster;
    }

    public Long getContainerId() {
        return containerId;
    }

    public void setContainerId(Long containerId) {
        this.containerId = containerId;
    }

    public Long getImageId() {
        return imageId;
    }

    public void setImageId(Long imageId) {
        this.imageId = imageId;
    }

    public String getDesktopUrl() {
        return desktopUrl;
    }

    public void setDesktopUrl(String desktopUrl) {
        this.desktopUrl = desktopUrl;
    }

    public Long getMasterContainerId() {
        return masterContainerId;
    }

    public void setMasterContainerId(Long masterContainerId) {
        this.masterContainerId = masterContainerId;
    }

    public Long getMasterImageId() {
        return masterImageId;
    }

    public void setMasterImageId(Long masterImageId) {
        this.masterImageId = masterImageId;
    }

    public String getMasterDesktopUrl() {
        return masterDesktopUrl;
    }

    public void setMasterDesktopUrl(String masterDesktopUrl) {
        this.masterDesktopUrl = masterDesktopUrl;
    }

    public Long getFirstSlaveContainerId() {
        return firstSlaveContainerId;
    }

    public void setFirstSlaveContainerId(Long firstSlaveContainerId) {
        this.firstSlaveContainerId = firstSlaveContainerId;
    }

    public Long getFirstSlaveImageId() {
        return firstSlaveImageId;
    }

    public void setFirstSlaveImageId(Long firstSlaveImageId) {
        this.firstSlaveImageId = firstSlaveImageId;
    }

    public String getFirstSlaveDesktopUrl() {
        return firstSlaveDesktopUrl;
    }

    public void setFirstSlaveDesktopUrl(String firstSlaveDesktopUrl) {
        this.firstSlaveDesktopUrl = firstSlaveDesktopUrl;
    }

    public Long getSecondSlaveContainerId() {
        return secondSlaveContainerId;
    }

    public void setSecondSlaveContainerId(Long secondSlaveContainerId) {
        this.secondSlaveContainerId = secondSlaveContainerId;
    }

    public Long getSecondSlaveImageId() {
        return secondSlaveImageId;
    }

    public void setSecondSlaveImageId(Long secondSlaveImageId) {
        this.secondSlaveImageId = secondSlaveImageId;
    }

    public String getSecondSlaveDesktopUrl() {
        return secondSlaveDesktopUrl;
    }

    public void setSecondSlaveDesktopUrl(String secondSlaveDesktopUrl) {
        this.secondSlaveDesktopUrl = secondSlaveDesktopUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("cluster", cluster)
                .append("containerId", containerId)
                .append("imageId", imageId)
                .append("desktopUrl", desktopUrl)
                .append("masterContainerId", masterContainerId)
                .append("masterImageId", masterImageId)
                .append("masterDesktopUrl", masterDesktopUrl)
                .append("firstSlaveContainerId", firstSlaveContainerId)
                .append("firstSlaveImageId", firstSlaveImageId)
                .append("firstSlaveDesktopUrl", firstSlaveDesktopUrl)
                .append("secondSlaveContainerId", secondSlaveContainerId)
                .append("secondSlaveImageId", secondSlaveImageId)
                .append("secondSlaveDesktopUrl", secondSlaveDesktopUrl)
                .toString();
    }
}
